<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Savvy Solutions </title><link rel="stylesheet" type="text/css" href="/css/coreBlue.css">
<link rel="stylesheet" type="text/css" href="/css/defaultThemeNew.css">
<link rel="stylesheet" type="text/css" href="/css/iehacks1.css">
<link rel="stylesheet" type="text/css" href="/css/blog.css">
<script language="JavaScript" type="text/javascript" src="/js/calendar.js?OpenJavascriptLibrary"> 
</script>
 
<script language="JavaScript" type="text/javascript"> 
<!-- 
function Viewall()
{
//alert("in vew all")
temp1=document.getElementById("cmbCustomer")
temp1.selectedIndex=0
temp1=document.getElementById("cmbProcessarea")
temp1.selectedIndex=0
temp1=document.getElementById("cmbLocation")
temp1.selectedIndex=0
temp1=document.getElementById("fromDt")
temp1.value=""
temp1=document.getElementById("toDt")
temp1.value=""
newQuery_string=document.forms[0].Query_String_val.value
document.getElementById("srchResult").innerHTML=''
document.getElementById("filters").innerHTML=''
document.getElementById("view").style.display=''
 
 
dbName=document.getElementById("dbName").value
var vurl= "/ajxBenefitSearch?benefit=" + document.forms[0].reqbenefit.value
 
	if (window.XMLHttpRequest) 
 	{   
//		alert('INSIDE HTTP')
		req = new XMLHttpRequest();
//		alert(req+' - - req - - ')
		//req.overrideMimeType('text/xml');
 
		req.onreadystatechange = processReqChange_lookup;
		req.open("GET", vurl , true);
		req.send(null);
     		 } 
        //checking whether browser is IE 
 	else if (window.ActiveXObject)
  	{
//    		alert('entered the else of XMLHTTPRequest--- '+ window.ActiveXObject)
		req=new ActiveXObject("Microsoft.XMLHTTP")
		
		 if (req)
	   { 
 
		req.onreadystatechange = processReqChange_lookup;
		req.open("GET", vurl, true);
		req.send();
           		}
        		} 
 
 
}
function Searchdocs()
{
var filter="Filters: "
tempForm=document.forms[0]
temp1=document.getElementById("cmbCustomer")
var tempval1=temp1.options[temp1.selectedIndex].text
if(tempval1=="--Select Customer--")
{
tempval1="0"
}
else
{
filter+="Customer="+tempval1
}
 
temp1=document.getElementById("cmbLocation")
tempval2=temp1.options[temp1.selectedIndex].text
if(tempval2=="--Select Location--")
{
tempval2="0"
}
else
{
if(filter=="Filters: ")
filter+="Location="+tempval2
else
filter+=", Location="+tempval2
}
 
 
temp1=document.getElementById("cmbProcessarea")
tempval3=temp1.options[temp1.selectedIndex].text
if(tempval3=="--Select Process Area--")
{
tempval3="0"
}
else
{
if(filter=="Filters: ")
filter+="Process Area="+tempval3
else
filter+=", Process Area="+tempval3
}
 
temp1=document.getElementById("fromDt")
tempval4=temp1.value
if(tempval4=="")
{
tempval4="0"
}
else
{
if(filter=="Filters: ")
filter+="From Date="+tempval4
else
filter+=", From Date="+tempval4
}
 
temp1=document.getElementById("toDt")
tempval5=temp1.value
if(tempval5=="")
{
tempval5="0"
}
else
{
if(filter=="Filters: ")
filter+="To Date="+tempval5
else
filter+=", To Date="+tempval5
}
 
//alert(tempval1+"    "+tempval2+"    "+tempval3)
if(tempval3=="" && tempval1=="" && tempval2==""&&tempval4==""&&tempval5=="")
{
alert("Please select a filter ")
return
}
document.getElementById("filters").innerHTML="<font color=\"black\"><p align=\"left\">"+filter+"</p><font>"



tempQuery= "customer=" + tempval1 + "&site=" + tempval2 + "&process=" + tempval3 + "&fromDt=" + tempval4 + "&toDt=" + tempval5 + "&benefit=" + document.forms[0].reqbenefit.value
//alert(tempQuery)
newQuery_string=tempQuery
//alert(newQuery_string)
//for ie
     if (window.XMLHttpRequest) {
//alert("in if")
		// we are in a non-IE browser
		xmlhttp=new XMLHttpRequest()
	} else if (window.ActiveXObject) {
//    alert("in else if")
	// we are in IE
	xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
	}
//alert("before db name")
document.getElementById("view").innerHTML=''
document.getElementById("srchResult").style.display=''
 
 
//alert("before db name")
dbName=document.getElementById("dbName_1").value
//alert(dbName)
var vurl= "/ajxBenefitSearch?"+newQuery_string
//alert(vurl)
	if (window.XMLHttpRequest) 
 	{   
//		alert('INSIDE HTTP')
		req = new XMLHttpRequest();
//		alert(req+' - - req - - ')
		//req.overrideMimeType('text/xml');
 
		req.onreadystatechange = processReqChange_lookupsrch;
		req.open("GET", vurl , true);
		req.send(null);
     		 } 
        //checking whether browser is IE 
 	else if (window.ActiveXObject)
  	{
//    		alert('entered the else of XMLHTTPRequest--- '+ window.ActiveXObject)
		req=new ActiveXObject("Microsoft.XMLHTTP")
		
		 if (req)
	   { 
 
		req.onreadystatechange = processReqChange_lookupsrch;
		req.open("GET", vurl, true);
		req.send();
           		}
        		} 
 
 
 
}
 
 
 
var req;
function processReqChange_lookup()
{  
//alert("rocessReqChange_lookup")
//alert("req.readyState="+req.readyState)
    if (req.readyState == 4)             
 /*Only process if XML file is loaded completely:4="Complete" */
  {
 
         if (req.status == 200)           
 /*Only process if everything is ok*/
	    	{ 
 
xmlstr=req.responseText
//alert(xmlstr)
populatelookup(xmlstr)
		        } 
   	 else 
  	 {
		alert("There was a problem retrieving the XML data:n" + req.statusText);
     	     }
     	     
     	  }
		}
		
		function populatelookup(xmlstr)
{
//alert("populatelookup")
document.getElementById("view").innerHTML=xmlstr
for(i=0;i<document.getElementById("countera").innerHTML;i++)
{
 
 $('#sticky'+i).cluetip({sticky: true, closePosition: 'title', arrows: true });
}
 
 $("#insured_list")		.tablesorter({widthFixed: true, widgets: ['zebra']});
 $("#insured_list1")		.tablesorter({widthFixed: true, widgets: ['zebra']});
 
//	 $("#insured_list")		.tablesorterPager({container: $("#pager")});
 
}
 
 
 
var req;
function processReqChange_lookupsrch()
{  
//alert("in processReqChange_lookupsrch")
    if (req.readyState == 4)             
 /*Only process if XML file is loaded completely:4="Complete" */
  {
 
         if (req.status == 200)           
 /*Only process if everything is ok*/
	    	{ 
 
xmlstr=req.responseText
//alert(xmlstr)
populatelookupsrch(xmlstr)
		        } 
   	 else 
  	 {
		alert("There was a problem retrieving the XML data:n" + req.statusText);
     	     }
     	     
     	  }
		}
		function populatelookupsrch(xmlstr)
{
document.getElementById("srchResult").innerHTML=xmlstr
if(document.getElementById("countera").innerHTML!=0)
{
for(i=0;i<document.getElementById("countera").innerHTML;i++)
{
 $('#sticky'+i).cluetip({sticky: true, closePosition: 'title', arrows: true });
}
}
 
 
 $("#insured_list")		.tablesorter({widthFixed: true, widgets: ['zebra']});
 $("#insured_list1")		.tablesorter({widthFixed: true, widgets: ['zebra']});
 
}
// -->
</script>
 
<script language="JavaScript" type="text/javascript"> 
<!-- 
document._domino_target = "_self";
function _doClick(v, o, t, h) {
  var form = document._frmSolReportDetail;
  if (form.onsubmit) {
     var retVal = form.onsubmit();
     if (typeof retVal == "boolean" && retVal == false)
       return false;
  }
  var target = document._domino_target;
  if (o.href != null) {
    if (o.target != null)
       target = o.target;
  } else {
    if (t != null)
      target = t;
  }
  form.target = target;
  form.__Click.value = v;
  if (h != null)
    form.action += h;
  form.submit();
  return false;
}
// -->
</script>
 
<script language="JavaScript" type="text/javascript"> 
<!-- 
function clear1()
{
document.forms[0].SearchQuery1.value=""
 
}
 
function copydata()
{
 
document.forms[0].SearchQuery.value=document.forms[0].SearchQuery1.value
}
 
// -->
</script>
 
<script language="JavaScript" type="text/javascript"> 
<!-- 
function soonLaunch()
{
alert("This exciting new tool is soon to come to Operations Central!")
}
 
function DoNothing()
{
 
}
 
// -->
</script>
</head>
<body text="#000000" bgcolor="#FFFFFF" onload="newQuery_string=document.forms[0].Query_String_val.value
//for ie
 
dbName=document.forms[0].dbName.value
var vurl= &quot;/ajxBenefitSearch?benefit=&quot; + document.forms[0].reqbenefit.value
//alert(vurl)
//checking whether browser is mozila or Netscape
	if (window.XMLHttpRequest) 
 	{   
//		alert('INSIDE HTTP')
		req = new XMLHttpRequest();
//		alert(req+' - - req - - ')
		//req.overrideMimeType('text/xml');
 
		req.onreadystatechange = processReqChange_lookup;
		req.open(&quot;GET&quot;, vurl , true);
		req.send(null);
     		 } 
        //checking whether browser is IE 
 	else if (window.ActiveXObject)
  	{
//    		alert('entered the else of XMLHTTPRequest--- '+ window.ActiveXObject)
		req=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;)
		
		 if (req)
	   { 
 
		req.onreadystatechange = processReqChange_lookup;
		req.open(&quot;GET&quot;, vurl, true);
		req.send();
           		}
        		} 
 
">
 
<form method="post" action="nothing" name="_frmSolReportDetail">
<input type="hidden" name="__Click" value="0"><SCRIPT LANGUAGE="JavaScript1.2" SRC="/js/jquery-1.3.2.min.js"  TYPE='text/javascript'></SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.2" SRC="/js/jquery.cluetip.js"  TYPE='text/javascript'></SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.2" SRC="/js/clueTip.js"  TYPE='text/javascript'></SCRIPT>
<link rel="stylesheet" type="text/css" href="/css/jquery.cluetip.css">
<SCRIPT LANGUAGE="JavaScript1.2" SRC="/js/jquery.tablesorter.js"  TYPE='text/javascript'></SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.2" SRC="/js/jquery.tablesorter.pager.js"  TYPE='text/javascript'></SCRIPT>
<div style="display:none"><tt>openform&amp;mKey=vbenefit&amp;benefit=Hard%20Savings</tt><tt>
<input name="dbName_1" value="global/collaboration/SavvySol.nsf"></tt><tt></tt><font size="2" color="#ff0000">
<input name="Benefit" value=""></font><font size="2">
<input name="isFinBenefit" value="no"></font></div>
<input type="hidden" name="dbName" value="global/collaboration/SavvySol.nsf">
<input type="hidden" name="reqbenefit" value="<%=request.getParameter("benefit")%>">
<input type="hidden" name="Query_String_val" value="mKey=vbenefit&benefit=Hard%20Savings"><SCRIPT LANGUAGE="JavaScript1.2" SRC="/js/FusionCharts.js"  TYPE='text/javascript'></SCRIPT>
<!--</form>-->
